<template>
  <div class="top_content flex_Level">
    <div class="left_box">
      <el-card shadow="hover"> Never </el-card>
    </div>
    <div class="right_box">
      <el-row :gutter="20">
        <el-col :span="8">
          <el-card shadow="hover"> Always </el-card>
        </el-col>
        <el-col :span="8">
          <el-card shadow="hover"> Hover </el-card>
        </el-col>
        <el-col :span="8">
          <el-card shadow="hover"> Never </el-card>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="8">
          <el-card shadow="hover"> Always </el-card>
        </el-col>
        <el-col :span="8">
          <el-card shadow="hover"> Hover </el-card>
        </el-col>
        <el-col :span="8">
          <el-card shadow="hover"> Never </el-card>
        </el-col>
      </el-row>
    </div>
  </div>
  <el-card shadow="hover">
    <template #header>
      <span>Card name</span>
    </template>
    <div v-for="o in 4" :key="o" class="text item">{{ 'List item ' + o }}</div>
  </el-card>
  <el-card shadow="hover">
    <template #header>
      <span>Card name</span>
    </template>
    <div v-for="o in 4" :key="o" class="text item">{{ 'List item ' + o }}</div>
  </el-card>
  <el-card shadow="hover">
    <template #header>
      <span>Card name</span>
    </template>
    <div v-for="o in 4" :key="o" class="text item">{{ 'List item ' + o }}</div>
  </el-card>
  <el-card shadow="hover">
    <template #header>
      <span>Card name</span>
    </template>
    <div v-for="o in 4" :key="o" class="text item">{{ 'List item ' + o }}</div>
  </el-card>
</template>

<script setup lang="ts"></script>

<style scoped lang="scss">
.top_content {
  width: 100%;

  .left_box {
    margin-right: 20px;

    .el-card {
      width: 400px;
      height: 200px;
    }
  }

  .right_box {
    flex: 1;

    .el-card {
      height: 90px;
    }
  }
}

.el-card {
  border-radius: $border_radius;
  border: 0;
  margin-bottom: 20px;
  cursor: pointer;

  &:nth-last-of-type(2) {
    margin-bottom: 0;
  }
}
</style>
